<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Sample 12: Stage3D</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le styles -->
    <link href="bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
    <link href="bootstrap/css/docs.css" rel="stylesheet">
    <link href="bootstrap/js/google-code-prettify/prettify.css" rel="stylesheet">

    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
    swfobject.registerObject("stage3dswf", "11.3.0", "expressInstall.swf");
    swfobject.registerObject("spacetriangleswf", "11.3.0", "expressInstall.swf");
 </script>
</head>
  <body data-spy="scroll" data-target=".subnav" data-offset="50">
    <div class="container">
      <section id="content">
        <div class="page-header">
          <h1>Sample 12: Stage3D</h1>
        </div>
        <div>
          <table><tr><td>
            <object id="stage3dswf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="320" height="480">
              <param name="movie" value="stage3d.swf" />
              <!--[if !IE]>-->
              <object type="application/x-shockwave-flash" data="stage3d.swf" width="320" height="480">
              <!--<![endif]-->
                <param name="wmode" value="direct" />
                <param name="allowScriptAccess" value="sameDomain" />
                <param name="bgcolor" value="CCCCCC" /> 
                <div>
                  <h1>You need to update flash:</h1>
                  <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
                </div>
              <!--[if !IE]>-->
              </object>
              <!--<![endif]-->
            </object>
          </td><td>
            <object id="spacetriangleswf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="320" height="480">
              <param name="movie" value="SpaceTriangle.swf" />
              <!--[if !IE]>-->
              <object type="application/x-shockwave-flash" data="SpaceTriangle.swf" width="320" height="480">
              <!--<![endif]-->
                <param name="wmode" value="direct" />
                <param name="allowScriptAccess" value="sameDomain" />
                <param name="bgcolor" value="CCCCCC" /> 
                <div>
                  <h1>You need to update flash:</h1>
                  <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
                </div>
              <!--[if !IE]>-->
              </object>
              <!--<![endif]-->
            </object>
          </td></tr></table>
        </div>
      </section>
    </div>

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>
    <script src="assets/js/bootstrap-tab.js"></script>

    <script>
      $.ajax({
        url: "game.lua",
        dataType: "text",
        success: function(data) {
          document.getElementById("codeeditor1").value = data;
        },
      });
      $.ajax({
        url: "game2.lua",
        dataType: "text",
        success: function(data) {
          document.getElementById("codeeditor2").value = data;
        },
      });
    </script>
  </body>
</html>